<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>link-button</title>
		<link rel="stylesheet" type="text/css" href="../../../js/easyui/themes/default/easyui.css">
		<link rel="stylesheet" type="text/css" href="../../../js/easyui/themes/icon.css">
		<script type="text/javascript" src="../../../js/jquery-1.11.1.js"></script>
		<script type="text/javascript" src="../../../js/easyui/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="../../../js/easyui/locale/easyui-lang-zh_CN.js"></script>
	</head>

	<body>
		<a id="btn" href="#" class="easyui-linkbutton" selected="true" iconCls="icon-search" iconAlign="right" selected="true" onclick="clickBtn()">easyui</a>
		<div class="easyui-dialog" style="width:400px;height:200px" data-options="title:'My Dialog',collapsible:true,iconCls:'icon-ok',onOpen:function(){}">
			dialog content.
		</div>
		<script>
			//$("#btn").linkbutton('enable');
			function clickBtn() {
				alert("dd")
			}
			$(document).ready(function() {
				$('#btn').linkbutton('disable');
				$('#btn').linkbutton('enable');
			});
		</script>
	</body>

</html>